package com.groupbuying.file.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.file.dao.OssCategoryApplicationDao;
import com.groupbuying.file.domain.OssCategoryApplicationDO;
import com.groupbuying.file.service.OssCategoryApplicationService;



@Service
public class OssCategoryApplicationServiceImpl implements OssCategoryApplicationService {
	@Autowired
	private OssCategoryApplicationDao ossCategoryApplicationDao;
	
	@Override
	public OssCategoryApplicationDO get(String uuid){
		return ossCategoryApplicationDao.get(uuid);
	}
	
	@Override
	public List<OssCategoryApplicationDO> list(Map<String, Object> map){
		return ossCategoryApplicationDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ossCategoryApplicationDao.count(map);
	}
	
	@Override
	public int save(OssCategoryApplicationDO ossCategoryApplication){
		return ossCategoryApplicationDao.save(ossCategoryApplication);
	}
	
	@Override
	public int update(OssCategoryApplicationDO ossCategoryApplication){
		return ossCategoryApplicationDao.update(ossCategoryApplication);
	}
	
	@Override
	public int remove(String uuid){
		return ossCategoryApplicationDao.remove(uuid);
	}
	
	@Override
	public int batchRemove(String[] uuids){
		return ossCategoryApplicationDao.batchRemove(uuids);
	}
	
}
